package com.wanmait.recruitment.service.impl;

import com.github.pagehelper.PageInfo;
import com.wanmait.recruitment.mapper.WorksShowMapper;
import com.wanmait.recruitment.pojo.WorksShow;
import com.wanmait.recruitment.service.WorksShowService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;
@Service
@Transactional(rollbackFor = Exception.class)
public class WorksShowServiceImpl implements WorksShowService {
    @Resource
    private WorksShowMapper worksShowMapper;

    @Override
    public int count() {
        return worksShowMapper.CountWorksShow();
    }

    @Override
    public void insert(WorksShow object) {
         worksShowMapper.inserWorksShow(object);
    }

    @Override
    public void delete(Integer id) {

    }

    @Override
    public void delete(String ids) {

    }

    @Override
    public void update(WorksShow object) {

    }

    @Override
    public WorksShow findById(Integer id) {
        return null;
    }

    @Override
    public List<WorksShow> findAll() {
        return null;
    }

    @Override
    public List<WorksShow> findAll(WorksShow object) {
        return null;
    }

    @Override
    public PageInfo<WorksShow> findPage(int pageNum, int pageSize) {
        return null;
    }
}
